<div id="wrapper">
  <div id="banner"><img src="/css/images/banner.jpg" alt="banner" /></div>
  <div id="content">
    <div class="content_title"><b>中国居民膳食指南（2007版）</b><span class="small-title">Dietary guidelines</span></div>
    <div class="top-news clearfix">
      <a href="<?php echo url_for('@school_list?category_id=6')?>">
        <dl class="text-img clearfix">
          <dt><img src="/css/images/school-01.jpg" alt="" /></dt>
          <dd>
            <h2>新版《中国居民膳食指南》</h2>
            <p>新版(第三版)<中国居民膳食指南(以下简称“新版指南...</p>
          </dd>
        </dl>			
      </a>
      <a href="<?php echo url_for('@school_list?category_id=7')?>">
        <dl class="text-img clearfix">
          <dt><img src="/css/images/school-02.jpg" alt="" /></dt>
          <dd>
            <h2>中国居民平衡膳食宝塔</h2>
            <p>新版(第三版)<中国居民膳食指南(以下简称“新版指南...</p>
          </dd>
        </dl>
      </a>			
    </div>
    <div class="school-news">

      <ul class="news-list clearfix">
        <?php foreach ($pager->getResults() as $dynamicinfomation): ?>
          <li  class="clearfix">
            <a href="<?php echo url_for('@school_list?category_id='.$dynamicinfomation->getCategory()->getId())?>" class="fenlei">
              [<?php echo $dynamicinfomation->getCategory() ?>]
            </a> 
            <a class="list-title clearfix" href="<?php echo url_for('school_show', $dynamicinfomation) ?> ">
              <span><?php echo $dynamicinfomation->getDateTimeObject('created_at')->format('Y-m-d') ?></span>
              <?php echo $dynamicinfomation->getTitle() ?>
            </a>         
          </li>
        <?php endforeach; ?>
      </ul>
    </div>
    <div class="paging">
      <?php include_partial('news/pager', array('pager'=>$pager, 'route'=>'@school_index'))?>
    </div>
  </div><!--End Content-->

  <div id="left">
    <div id="sidebar">
      <img src="/css/images/school_ico.jpg" alt="营养学堂"/>
      <ul>
        <li><a href="<?php echo url_for('@school_index')?>">营养学堂</a></li>
      </ul>
      <div class="balanced">
        <img src="/css/images/balanced-img.jpg" alt="饮食平衡" />
      </div>
    </div><!--End Sidebar-->
  </div><!--End left-->
</div><!--End Wrapper-->




